<template>
	<view class="form">
		<uni-easyinput v-model="name" placeholder="请输入姓名" clearable="true">
			<template #right>
				<view>姓名</view>
			</template>
		</uni-easyinput>
	</view>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const name = ref('')
</script>

<style lang="scss" scoped>
	.form {
		margin-top: 40rpx;
		padding: 0 40rpx;
	}
</style>
